<?php $this->renderPartial("application.views.layouts._menu");?> 
<?php foreach($data_gameoff as $key=>$value){ ?>
<div class="Game_nd">
    <div class="Game_nd_left">
        <a href="<?php echo Url::createUrl("home/detail",array("id"=>$value['id'],"type"=>1));  ?>"><img width="65" height="65" alt="" src="<?php echo Common::getImage($value['picture'],"game",$value['create_date'],''); ?>"></a>
    </div>
    <div class="Game_nd_right">
        <a href="<?php echo Url::createUrl("home/detail",array("id"=>$value['id'],"type"=>1));  ?>"><h3><?php echo $value['title']; ?></h3></a>
        <p><?php echo $value['introtext']; ?></p>
        <a href="#"><img class="kc_Game" alt="" src="<?php echo Yii::app()->params['static_url'];?>images/tenweb_icon_dowload.png"></a><a class="do" href="<?php echo Yii::app()->params['url_mtop']."fileGame/download?gameId=".$value['id']."&userId=".$_SESSION['userId']; ?>">Tải miễn phí</a> (<?php echo $value['download']; ?> lượt tải)
    </div>
    <div class="both"></div>
</div>
 <?php } ?>  
<div class="button">
    <?php echo $paging; ?>
</div>